<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <title>数据字典</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <link rel="stylesheet" href="/public/layui/css/layui.css" media="all"/>
    <link rel="stylesheet" href="/public/css/public.css" media="all"/>
</head>

<!-- 带分块的页面布局稍稍复杂一些，首先要再body这层再加一个layout -->
<body class="childrenBody layout">
<!-- 只用增加分块的div
			特殊说明：如果是树，则这分块的比例就要更改，推荐设置为3:9-->
<div class="layui-col-sm6">
    <!-- 这层开始和普通的列表页面一样 -->
    <div class="btn" style="display:none">
        <div class="layui-btn-container">
            <a class="layui-btn layui-btn-sm addNews_btn" lay-event="addNews_btn">新增字典类型</a>
        </div>
    </div>

    <table id="newsList" lay-filter="newsLists"></table>
</div>
<input type="hidden" id="import"/>
<input type="hidden" id="typeCode">

<div class="layui-col-sm6">
    <div class="btns" style="display:none">
        <div class="layui-btn-container">
            <a class="layui-btn layui-btn-sm addNews_btn2" lay-event="addNews_btn2">新增字典值</a>
            <a class="layui-btn layui-btn-sm" lay-event="import">导入</a>
            <a class="layui-btn layui-btn-sm download" lay-event="download">下载模板</a>
        </div>
    </div>

    <table id="dictValList" lay-filter="newsList2"></table>
</div>


<!--操作1-->
<script type="text/html" id="dictListBar">
    <a class="iconfont icon-edit" title="编辑" lay-event="edit" id="role-modify1"></a>
    <!--<a class="iconfont icon-del" title="删除" lay-event="del"></a>-->
</script>

<!--操作2-->
<script type="text/html" id="dictEDIT">
    <a class="iconfont icon-edit" title="编辑" lay-event="edit1" id="role-modify2"></a>
    <a class="iconfont icon-del" title="删除" lay-event="del1"></a>
</script>
</body>
<script type="text/javascript" src="/js/config.js"></script>
<script type="text/javascript" src="/public/js/jquery.min.js"></script>
<script type="text/javascript" src="/public/layui/layui.js"></script>
<script type="text/javascript" src="/js/public.function.js"></script>
<script type="text/javascript" src="dictList.js"></script>
</html>